package demo4;

public abstract class Colleague {
    protected EditorMediator mediator; // 持有中介者引用

    public Colleague(EditorMediator mediator) {
        this.mediator = mediator;
    }
}